package com.otp.repository;

import com.otp.pojo.entity.CheckIn;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface CheckInRepository extends JpaRepository<CheckIn, Long> {
    List<CheckIn> findByCourseId(Long courseId);
    List<CheckIn> findByStudentId(Long studentId);
    List<CheckIn> findByCourseIdAndStudentId(Long courseId, Long studentId);
}